module.exports = (webpackConfig) => {
    // 别名配置
    webpackConfig.resolve.alias = {
      assets: `${__dirname}/src/assets`,
      components: `${__dirname}/src/components`,
      utils: `${__dirname}/src/utils`,
      themes: `${__dirname}/src/themes`,
      services: `${__dirname}/src/services`,
      pages: `${__dirname}/src/pages`,
      models: `${__dirname}/src/models`,
      configs: `${__dirname}/src/configs`
    };
    return webpackConfig;
  };